package com.wenjie.springbootbugdetection.service;

import com.wenjie.springbootbugdetection.model.Bug;

import java.util.List;

/**
 * @author Yang wenjie
 * @date 2021/7/6 14:34
 * Nice to Meet you!
 */
public interface BugService {
    Bug queryBug(Integer bugId);

    List<Bug> selectAllBugs();

    int delectABug(Integer bugId);

    int checkedABug(Integer bugId, Integer testManagerId);

    int checkedABugFalse(Integer bugId, Integer testManagerId);

    int solvedABug(Integer bugId, Integer developmentId);

    int insertABug(Bug bug);

    int updateABug(Bug bug);

}
